@echo off
REM 定义下载目录
set "DOWNLOAD_DIR=%CD%\downloaded_files"

REM 创建下载目录
mkdir "%DOWNLOAD_DIR%"

REM 启用最大重定向次数进行下载
echo Starting download with redirect handling...
wget -r -np -nH -c --max-redirect=10 -P "%DOWNLOAD_DIR%" "https://sid.erda.dk/cgi-sid/ls.py?share_id=GxrFNGtykS"

REM 提示完成
echo Download and verification process completed. Check the %DOWNLOAD_DIR% folder.
pause
